package com.atguigu.jdbc2;

import com.atguigu.jdbc.JDBCUtils;
import org.junit.Test;

public class EmpDAO extends BaseDAO<Employee>{

    public void insert(){
        update(JDBCUtils.getConnection(),
                "insert into emp(id,name) values(?,?)",1000,"ddddddd");
    }


    public void getEmp(){
        query(JDBCUtils.getConnection(),"",Employee.class);
    }
}
